﻿using System;
using GoogleEarthClasses.Entities;
using System.Collections.Generic;

namespace GoogleEarthClasses.Entities
{
    [Serializable]
    public class EPolygon
    {
        #region Private Members
        Int32 m_PolygonId;
        DateTime m_CreatedOn;
        string m_CreatedBy;
        string m_CreatedAt;
        
        DateTime m_UpdatedOn;
        string m_UpdatedBy;
        string m_UpdatedAt;
        
        string m_Name;
        string m_TypeName;
        string m_Points;
        string m_Description;
        #endregion Private Members

        #region Properties
        public Int32 PolygonId
        {
            get { return m_PolygonId; }
            set { m_PolygonId = value; }
        }
        
        public DateTime CreatedOn
        {
            get { return m_CreatedOn; }
            set { m_CreatedOn = value; }
        }
        public string CreatedBy
        {
            get { return m_CreatedBy; }
            set { m_CreatedBy = value; }
        }
        public string CreatedAt
        {
            get { return m_CreatedAt; }
            set { m_CreatedAt = value; }
        }
    
        public DateTime UpdatedOn
        {
            get { return m_UpdatedOn; }
            set { m_UpdatedOn = value; }
        }
        public string UpdatedBy
        {
            get { return m_UpdatedBy; }
            set { m_UpdatedBy = value; }
        }
        public string UpdatedAt
        {
            get { return m_UpdatedAt; }
            set { m_UpdatedAt = value; }
        }
    
        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }
        public string TypeName
        {
            get { return m_TypeName; }
            set { m_TypeName = value; }
        }
        public string Points
        {
            get { return m_Points; }
            set { m_Points = value; }
        }
        public string Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        #endregion Properties

        #region Constructors
        public EPolygon()
        { }
        public EPolygon(Int32 PolygonId)
        {
            m_PolygonId = PolygonId;
        }
        public EPolygon(Int32 PolygonId, DateTime CreatedOn, string CreatedBy, string CreatedAt, DateTime UpdatedOn, string UpdatedBy, string UpdatedAt, string Name, string TypeName, string Points, string Description)
        {
            m_PolygonId = PolygonId;
            m_CreatedOn = CreatedOn; 
            m_CreatedBy = CreatedAt;
            m_UpdatedOn = UpdatedOn;
            m_UpdatedBy = UpdatedBy;
            m_UpdatedAt = UpdatedAt;
            m_Name = Name;
            m_TypeName = TypeName;
            m_Points = Points;
            m_Description = Description;
        }
        #endregion Constructors

    }
}

